//
//  MediaModel.m
//  MVC|MVP|MVVM
//
//  Created by Guo Rui on 2017/11/13.
//  Copyright © 2017年 GR Harry. All rights reserved.
//

#import "MediaModel.h"
#import "NSObject+Orientation.h"
#import <YYModel.h>
@implementation MediaModel

//- (NSDictionary *)modelCustomWillTransformFromDictionary:(NSDictionary *)dic
//{
//    NSMutableDictionary *mDict = dic.mutableCopy;
//    
//    UIImageOrientation orientation = [self exifOrientationToIOSOrientation:[[dic objectForKey:@"imageOrientation"] integerValue]];
//    if (orientation == UIImageOrientationLeft || orientation == UIImageOrientationRight) {
//        NSNumber *temp = [mDict objectForKey:@"w"];
//        [mDict setObject:mDict[@"h"] forKey:@"w"];
//        [mDict setObject:temp forKey:@"h"];
//    }
//    
//    return mDict;
//}

@end
